import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyTest from '@/components/MyTest'
import MyButton from '@/components/MyButton'
import MyTable from '@/components/MyTable'
import MyTableFastMock from '@/components/MyTableFastMock'
import MyTable1 from '@/components/MyTable1'
import MyTableFastMock1 from "../components/MyTableFastMock1";
import Department1 from "../components/Department1";
import Department from "../components/Department";


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/myTest',
      name: 'MyTest',
      component: MyTest
    },
    {
      path: '/myButton',
      name: 'MyButton',
      component: MyButton
    },
    {
      path: '/myTable',
      name: 'MyTable',
      component: MyTable
    },
    {
      path: '/myTableFastMock',
      name: 'MyTableFastMock',
      component: MyTableFastMock
    },
    {
      path: '/myTable1',
      name: 'MyTable1',
      component: MyTable1
    },
    {
      path: '/myTableFastMock1',
      name: 'MyTableFastMock1',
      component: MyTableFastMock1
    },
    {
      path: '/department1',
      name: 'Department1',
      component: Department1
    },
    {
      path: '/department',
      name: 'Department',
      component: Department
    }
  ]
})
